#include "RMSCompute.h"
#include "lang/StringFormat.hpp"
using namespace yzrilyzr_lang;
namespace yzrilyzr_dsp{
	RMSCompute::RMSCompute(){}
	RMSCompute::RMSCompute(u_index bufferSize) : _rms(0){
		setBufferSize(bufferSize);
	}
	String RMSCompute::toString()const{
		return StringFormat::object2string("RMSCompute", buffer.capacity());
	}
}